<?php

namespace app\demo\middleware;

class Check{
	//中间件开始调度
	public function handle($request, \Closure $next){
		$request->type = "demo-singwa";

		return $next($request);
	}

	public function end(\think\Response $response){

	}
}